/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package plash.utils;

/**
 *
 * @author  #0K Srinivasan <hashok.com>
 */
public class Logger
{
    public static boolean LOGGER_ENABLED = true;
    public static boolean LOGGER_DISABLED = false;    
    
    public static boolean enable_logging = Logger.LOGGER_DISABLED;
    
            
    private Logger()
    {
        
    }    
    
    public static void log(Object object)
    {
        Logger.log(object.toString());
    }
    
    public static void log(int value)
    {
        Logger.log(""+value);
    }
    
    public static void log(float value)
    {
        Logger.log(""+value);
    }
    
    public static void log(double value)
    {
        Logger.log(""+value);
    }
    
    public static void log(String message)
    {
        if(Logger.enable_logging)
        {
            System.out.println("LOG : "+message);
        }
    }
}
